/**
 * 
 */
package com.eis.exception;

/**
 * @author panwei
 *
 */
public enum EisErrorCode {
	BizSystemExistForInsert(100001, "A bussiness system with the same name is already exist!"),
	BizSystemNotExistForUpdate(100002, "The bussiness system you tried to update does not exist!"),
	BizSystemExistForUpdate(100003, "A bussiness system with the same name is already exist!"),
	ConnectorConfigureNotExistForUpdate(100004, "The connector configure you tried to update does not exist!"),
	InsertLayoutGroupFaile(100005, "Operation fail, You may tried to add a group name which is already exist."),
	saveParameterFuncNotExist(100006, "Function doesn't exist!");
	
	int errorCode;
	String message;
	
	EisErrorCode(int errorCode, String message) {
		this.errorCode = errorCode;
		this.message = message;
	}

	public int getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(int errorCode) {
		this.errorCode = errorCode;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
	
	
}
